const treeData = require('./row-data/treeData')


/**
 * 判断
 */

function inorderTraversa(treeData, res =[]){
    if(treeData) {
        inorderTraversa(treeData.left, res)
        res.push(treeData.node)
        inorderTraversa(treeData.right, res)

    }
    return res;
}


console.log(inorderTraversa(treeData,[]));
